export const ZZB_ENABLE_STATUS_ENUM = {
  DISABLE_STATUS: {
    value: 0,
    desc: '禁用',
  },
  ENABLE_STATUS: {
    value: 1,
    desc: '启用',
  },
}

export const ZZB_USER_TYPE_ENUM = {
  // USER_TYPE_ALL: {
  //   value: 0,
  //   desc: '全部',
  // },
  USER_TYPE_PLATFORM: {
    value: 1,
    desc: '平台',
  },
  USER_TYPE_AGENT: {
    value: 2,
    desc: '代理',
  },
  // USER_TYPE_EXHIBITION: {
  //   value: 3,
  //   desc: '展业',
  // },
  USER_TYPE_MERCHANT: {
    value: 4,
    desc: '商户',
  },
  // USER_TYPE_CONSUMER: {
  //   value: 5,
  //   desc: '消费者',
  // },
}

export const ZZB_STORE_TYPE_ENUM = {
  STORE_TYPE_DIRECT_OPERATION: {
    value: 0,
    desc: '直营',
  },
  STORE_TYPE_FRANCHISE: {
    value: 1,
    desc: '加盟',
  },
}

export const ZZB_NO_TYPE_ENUM = {
  PHONE_NUMBER: {
    value: 0,
    desc: '手机号',
  },
  ENTERPRISE_CODE: {
    value: 1,
    desc: '企业代码',
  },
}

export const ZZB_PROFIT_DRAW_TYPE_ENUM = {
  PROFIT_DRAW_TYPE_UNIFIED_DRAW: {
    value: 0,
    desc: '统一提现',
  },
  PROFIT_DRAW_TYPE_GRADUAL_DRAW: {
    value: 1,
    desc: '逐级提现',
  },
}

export const ZZB_NO_STATUS_ENUM = {
  NO_STATUS_NORMAL: {
    value: 0,
    desc: '正常使用',
  },
  NO_STATUS_DISABLED_OPEN_AGENT: {
    value: 1,
    desc: '禁止开代理商',
  },
  NO_STATUS_DISABLED_OPEN_MERCHANT: {
    value: 2,
    desc: '禁止开商户',
  },
  NO_STATUS_DISABLED_OPERATOR_LOGIN: {
    value: 3,
    desc: '禁止操作员登录',
  },
  NO_STATUS_DISABLED_SYSTEM: {
    value: 4,
    desc: '系统停止使用',
  },
  NO_STATUS_DISABLED_PAY: {
    value: 5,
    desc: '停止全部收款',
  },
  NO_STATUS_DISABLED_ALL: {
    value: 6,
    desc: '全部禁用',
  },
}

export const ZZB_MCH_NO_STATUS_ENUM = {
  NO_STATUS_NORMAL: {
    value: 0,
    desc: '正常使用',
  },
  // NO_STATUS_DISABLED_OPERATOR_LOGIN: {
  //   value: 1,
  //   desc: '禁止操作员登录',
  // },
  // NO_STATUS_DISABLED_SYSTEM: {
  //   value: 2,
  //   desc: '系统停止使用',
  // },
  NO_STATUS_DISABLED_PAY: {
    value: 3,
    desc: '停止全部收款',
  },
  NO_STATUS_DISABLED_ALL: {
    value: 4,
    desc: '禁用',
  },
}

export const ZZB_AUTH_BUSS_TYPE_ENUM = {
  AUTH_BUSS_TYPE_OPEN_MERCHANT: {
    value: 0,
    desc: '开商户',
  },
  AUTH_BUSS_TYPE_OPEN_AGENT: {
    value: 1,
    desc: '开设代理商',
  },
  AUTH_BUSS_TYPE_ALL: {
    value: 2,
    desc: '全部',
  },
}

export const ZZB_EXHIBITION_STATUS_ENUM = {
  EXHIBITION_STATUS_NORMAL: {
    value: 0,
    desc: '正常使用',
  },
  EXHIBITION_STATUS_DISABLED_WRITE: {
    value: 1,
    desc: '禁止增改',
  },
  EXHIBITION_STATUS_DISABLED_ALL: {
    value: 2,
    desc: '全部禁用',
  },
}

// ZZB审核状态
export const ZZB_AUDIT_STATUS_ENUM = {
  AUDIT_STATUS_WAIT: {
    value: 0,
    desc: '待审核',
  },
  AUDIT_STATUS_ING: {
    value: 1,
    desc: '审核中',
  },
  AUDIT_STATUS_SUCCESS: {
    value: 2,
    desc: '审核通过',
  },
  AUDIT_STATUS_REJECT: {
    value: 3,
    desc: '审核驳回',
  },
}

export default {
  ZZB_ENABLE_STATUS_ENUM,
  ZZB_USER_TYPE_ENUM,
  ZZB_STORE_TYPE_ENUM,
  ZZB_NO_TYPE_ENUM,
  ZZB_PROFIT_DRAW_TYPE_ENUM,
  ZZB_NO_STATUS_ENUM,
  ZZB_AUTH_BUSS_TYPE_ENUM,
  ZZB_EXHIBITION_STATUS_ENUM,
}
